<style>
.links{
	padding-left:0;
	padding-right:0;
	box-sizing:border-box;
}
</style>
<!DOCTYPE html>
<div ng-controller="unionOrderActivityCtrl">
	<div class="well">
		<div class="titleContainer">
			<div class="leftTitle">发布活动</div>
		</div>
		
		<div class="formContainer">
			<div class="form-horizontal">
				<div class="form-group">
					<div class="form-horizontal col-sm-4">
			            <div class="form-group">
			                <label class="col-sm-4 control-label">活动名称</label>
			                <div class="col-sm-8">
			                	<input type="text" class="form-control" ng-model="search.activity_name"/>
			                </div>
			            </div>
			        </div>
			        <div class="form-horizontal col-sm-4" ng-show="createShow">
			            <div class="form-group">
			                <label class="col-sm-4 control-label">创建者</label>
			                <div class="col-sm-8">
			                	<input type="text" class="form-control" ng-model="search.creat_name"/>
			                </div>
			            </div>
			        </div>
			        <div class="form-horizontal col-sm-4">
			            <div class="form-group">
			                <label class="col-sm-4 control-label">活动状态</label>
			                <div class="col-sm-8">
			                	<input type="text" id="activityState"/>
			                </div>
			            </div>
			        </div>
			        <div class="form-horizontal col-sm-4">
			            <div class="form-group">
			                <label class="col-sm-4 control-label">创建时间（始）</label>
			                <div class="col-sm-8">
			                	<input type="text" id="startTime"/>
			                </div>
			            </div>
			        </div>
			        <div class="form-horizontal col-sm-4">
			            <div class="form-group">
			                <label class="col-sm-4 control-label">创建时间（止）</label>
			                <div class="col-sm-8">
			                	<input type="text" id="endTime"/>
			                </div>
			            </div>
			        </div>
			        <div class="form-horizontal col-sm-4">
			            <div class="form-group">
			                <label class="col-sm-4 control-label">上下架</label>
			                <div class="col-sm-8">
			                	<input type="text" id="upDownFramer"/>
			                </div>
			            </div>
			        </div>
			        
			        
			       <div class="buttons-wrap clearBoth">
						<button class="k-button k-state-default" ng-click="search()">查询</button>
					</div>
				</div>
			</div>
		</div>
		<div>
		<button class="k-button k-state-default" ng-show='acitvityCheckS' ng-click="createActivity()">新增活动</button>
		<button class="k-button k-state-default" ng-show='acitvityCheckS2' ng-click="activitySet()">集团活动</button>
		</div>
		<div kendo-window="tipWindow" k-title="'复制链接'" k-width="700" k-min-height="150" k-visible="false" k-modal="true">
			<div class="form-group">
				<div class="form-horizontal col-sm-12">
		            <div class="form-group">
		                <label class="col-sm-2 control-label links">来源：</label>
		                <div class="col-sm-2">
		                	<input type="text" id="customerSource"/>
		                </div>
		                <div class="col-sm-3">
				                	<input id="province1"/>
				                </div>
				                <div class="col-sm-3">
				                	<input id="city1"/>
				                </div>
		            </div>
		            <div class="form-group">
		                <label class="col-sm-3 control-label links">链接：</label>
		                <div class="col-sm-8">
		                	<input type="text" class="form-control" ng-model="activity_link" id="linkContent"/>
		                </div>
		            </div>
		            <div class="form-group" style="text-align:center">
		            	<button class="k-button k-state-default center"  id ="clikButtons" ng-click="clickLink()">点击复制</button>
		            </div>
		        </div>
		   </div>
		</div>
		<div class="tableList">
			<div kendo-grid="grid" k-options="gridOptions"></div>
		</div>
	</div>
</div>